Completed
Push — master ( 93e6f2...6e83f4 )
by greg
16:27 queued 13:12
created

slug.js ➔ describe(ꞌAbeꞌ)   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 34

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 34
rs 8.8571

1 Function

Rating   Name   Duplication   Size   Complexity  
B slug.js ➔ ... ➔ describe(ꞌslugꞌ) 0 31 1
1
describe('Abe', function() {
2
3
  describe('slug', function() {
4
5
    before(function(client, done) {
6
      done();
7
    });
8
9
    after(function(client, done) {
10
      client.end(function() {
11
        done();
12
      });
13
    });
14
15
    afterEach(function(client, done) {
16
      done();
17
    });
18
19
    beforeEach(function(client, done) {
20
      done();
21
    });
22
23
    it('Create a slug template post', function(client) {
24
      client
25
        .useXpath()
26
        .url('http://localhost:3003/abe/editor')
27
        .click('//*[@id="selectTemplate"]/option[11]')
28
        .pause(1000)
29
        .elements('xpath',"//div[@data-precontrib-templates='slug']", function (result) {
30
            client.assert.equal(result.value.length, 2);
31
        });
32
    });
33
  });
34
});